package com.zzy.mccjt.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.Instant;

/**
 * @program: mccjt-cloud
 * @description:
 * @author: zhouyang.zheng
 * @create: 2022-08-10 16:26
 **/
@Data
public class SysUser {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String name;

    private String phone;

    private String status;

    @TableField(fill = FieldFill.INSERT)
    private Instant createAt;

    @TableField(fill = FieldFill.UPDATE)
    private Instant updateAt;

    @TableField(fill = FieldFill.INSERT)
    private Boolean deleted;

}
